﻿<%@ Page Language="C#" MasterPageFile="~/MasterStrana.Master" AutoEventWireup="true" CodeBehind="Informacii.aspx.cs" Inherits="WebApplication1.WebForm5" Title="Информации" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <asp:Label ID="MetaFbTitle" runat="server"></asp:Label>
    <asp:Label ID="MetaFbDescription" runat="server"></asp:Label>
    <asp:Label ID="MetaFbImage" runat="server"></asp:Label>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 
    <div align="center">
    <br />
    <h2>
        <asp:Label ID="Marka" runat="server"></asp:Label>
        <asp:Label ID="Model" runat="server"></asp:Label>
        <asp:Label ID="Label1" runat="server"> - Информации</asp:Label>
    </h2> 
    </div>
    <div id="socialShareInformacii">
        <asp:HyperLink ID="FacebookShareLink" runat="server" ToolTip="Сподели на Facebook" ><img src="Sliki/facebook-Icon[32x32].png" alt="FacebookShare" /></asp:HyperLink> &nbsp;
        <asp:HyperLink ID="TwitterShareLink" runat="server" ToolTip="Сподели на Twitter"><img src="Sliki/Twitter-Icon[32x32].png" alt="TwitterShare" /></asp:HyperLink>
    </div><br />

    <div id="informaciiSlika">
        <asp:Image ID="SlikaINFO" runat="server" Width="320" Height="240" />
    </div>
    <div id="informaciiLista">
        <asp:ListBox ID="MotoriListBox" runat="server" Width="200" 
        Height="240" Font-Size="12" Font-Bold="true" 
            onselectedindexchanged="MotoriListBox_SelectedIndexChanged" AutoPostBack="True"></asp:ListBox>
    </div>
        <table class="informacii" border="0" width="280" cellpadding="3" cellspacing="5">
            <tr height="30">
                <td>Производител: </td>
                <td><asp:Label ID="MarkaLabel" runat="server"></asp:Label></td>
            </tr>
            <tr height="30">
                <td>Модел: </td>
                <td><asp:Label ID="ModelLabel" runat="server"></asp:Label></td>
            </tr>
            <tr height="30">
                <td>Мотор: </td>
                <td><asp:Label ID="MotorLabel" runat="server"></asp:Label></td>
            </tr>
            <tr height="30">
                <td>Гориво: </td>
                <td><asp:Label ID="GorivoLabel" runat="server"></asp:Label></td>
            </tr>
            <tr height="30">
                <td>Сила: </td>
                <td><asp:Label ID="SilaLabel" runat="server"></asp:Label></td>
            </tr>
            <tr height="30">
                <td>Зафатнина: </td>
                <td><asp:Label ID="ZafatninaLabel" runat="server"></asp:Label></td>
            </tr>
            <tr height="30">
                <td>Потрошувачка: </td>
                <td><asp:Label ID="PotrosuvackaLabel" runat="server"></asp:Label></td>
            </tr>
            <tr height="30">
                <td>Цена: </td>
                <td><asp:Label ID="CenaLabel" runat="server"></asp:Label></td>
            </tr>
            <tr height="30">
                <td align="center" colspan="2"> Официјална Web страна: </td>
            </tr>
            <tr height="30">
                <td align="center" colspan="2">
                    <asp:HyperLink ID="INFOHyperLink" runat="server">HyperLink</asp:HyperLink></td>
            </tr>
            <tr height="80">
                <td align="center" colspan="2">
                    <asp:LinkButton ID="GalerijaButton" runat="server" OnClick="GalerijaButtonClick">Галерија</asp:LinkButton>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <asp:LinkButton ID="PorackaButton" runat="server" 
                        ToolTip="Генерирај договор за купување" onclick="PorackaButton_Click">Генерирај договор</asp:LinkButton>
                </td>
            </tr>
        </table>
        <asp:Label CssClass="opis" ID="ModelOpis" runat="server" Width="510"></asp:Label>
        <br />


        <div id="informaciiKomentar">
            <asp:Label ID="lblOcena" runat="server"></asp:Label>
            <asp:DropDownList ID="ddlOcena" runat="server"></asp:DropDownList>
            <asp:Button ID="btnOceni" runat="server" Text="Оцени" CssClass="kopceAdmin" 
                onclick="btnOceni_Click" />
            <asp:Label ID="lblBrojGlasanja" runat="server" Visible="false" />
            <asp:Label ID="lblZbirGlasovi" runat="server" Visible="false" /> <br />
            <asp:Label ID="lblSrednaOcena" runat="server"></asp:Label> <br />
    <table >
    <tr>
        <td colspan="2">
            <asp:Label ID="lblKomentar" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td align="center">
            <asp:TextBox ID="txtKomentar" runat="server" Height="200" Width="500" TextMode="MultiLine"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="right" valign="middle" colspan="2">
            <asp:Label ID="lblOdKogo" runat="server" Text="Име: "></asp:Label>
            <asp:TextBox ID="txtOdKogo" runat="server" Width="120"></asp:TextBox> &nbsp;
            <asp:Button ID="btnKomentar" runat="server" Text="Објави" 
                ToolTip="Објави го коментарот" CssClass="kopceAdmin" 
                onclick="btnKomentar_Click" />
        </td>
    </tr>
    <tr>
        <td align="right" valign="middle" colspan="2">
            <asp:Label ID="lblStatus" runat="server"></asp:Label>
        </td>
    </tr>
    </table>
    </div>
</asp:Content>
